$OpenBSD: patch-Wnn_jutil_atof_c,v 1.2 2017/04/29 14:31:40 espie Exp $
--- Wnn/jutil/atof.c.orig
+++ Wnn/jutil/atof.c
@@ -125,6 +125,9 @@ static char *rcs_id = "$Id: atof.c,v 1.5 1994/06/28 02
 
 
 #include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
 #include "commonhd.h"
 #include "hinsi.h"
 #include "jslib.h"
@@ -297,7 +300,7 @@ char *c;
   exit(1);
 }
 
-void
+int
 main(argc, argv)
 int argc;
 char **argv;
